{#
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{% extends "base-article.html" %}

{% block page_css %}
  {{ css_bundle('security') }}
{% endblock %}

{% set navigation_bar_security = [
    (url('security.index'), 'security-index', 'Mozilla Security'),
    (url('security.advisories'), 'advisories', 'Advisories'),
    (url('security.known-vulnerabilities'), 'known-vulnerabilities', 'Known Vulnerabilities'),
    ('https://blog.mozilla.com/security/', 'blog', 'Mozilla Security Blog'),
    (url('security.bug-bounty'), 'bug-bounty', 'Security Bug Bounty'),
    (url('security.third-party-injection-policy'), 'third-party-software-injection', 'Third-party Injection Policy'),
] %}

{% set navigation_bar_client_bounty = [
    (url('security.client-bug-bounty'),'client-bug-bounty', 'Client Bug Bounty'),
    (url('security.bug-bounty.faq'), 'faq', 'Frequently Asked Questions'),
    (url('security.bug-bounty.hall-of-fame'), 'hall-of-fame', 'Hall of Fame'),
] %}

{% set navigation_bar_web_bounty = [
    (url('security.web-bug-bounty'), 'web-bug-bounty', 'Web Bug Bounty'),
    (url('security.bug-bounty.web-eligible-sites'), 'web-eligible-sites', 'Eligible Websites'),
    (url('security.bug-bounty.faq-webapp'), 'faq-webapp', 'Frequently Asked Questions'),
    (url('security.bug-bounty.web-hall-of-fame'), 'web-hall-of-fame', 'Hall of Fame'),
] %}

{% block body_class %}mzp-t-mozilla {% endblock %}

{% block side_nav %}
  {{ sidemenu_lists([navigation_bar_security, navigation_bar_client_bounty, navigation_bar_web_bounty], body_id) }}
{% endblock %}

{% block newsletter %}{% endblock %}
